<%-- 
    Document   : NewAcc
    Created on : Apr 18, 2011, 8:44:18 PM
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="/page/header.jsp" %>
<form method="post" action="AddAccount">
    <table width="100%" border="0">
        <tr>
            <td colspan="3"><h3>Customer Entry Form</h3></td>
        </tr>
        <tr>
            <td style="text-align: right">Account Number:</td>
            <td style="text-align: left"><input type="textbox" name="accNumber"></td>
            <td><div class="errors"><c:out value="${chkAcc}"></c:out></div></td>
        </tr>
        <tr>
            <td style="text-align: right">Password:</td>
            <td style="text-align: left"><input type="password" name="pass"></td>
            <td><div class="errors"><c:out value="${chkpass}"></c:out></div></td>
        </tr>
        <tr>
            <td style="text-align: right">Retype Password:</td>
            <td style="text-align: left"><input type="password" name="repass"></td>
            <td><div class="errors"><c:out value="${chkrepass}"></c:out></div></td>
        </tr>
        <tr>
            <td style="text-align: right">Opening Balance:</td>
            <td style="text-align: left"><input type="textbox" name="openbalance"></td>
            <td><c:out value="${chkAmount}"></c:out></td>
        </tr>
        <tr>
            <td colspan="3"><div class="errors"><c:out value="${exception}"></c:out></div></td>
        </tr>
        <tr>
            <td style="text-align: right"><button type="submit">Add the account</button></td>
            <td style="text-align: left"><button type="reset">Reset</button></td>
            <td></td>
        </tr>
    </table>
</form>

<%@include file="/page/footer.jsp" %>